博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
javax.el.PropertyNotFoundException: Property 'imgUrl' not found on type java.lang.String
阅读量:5319 次
发布时间:2019-06-14

本文共 12644 字,大约阅读时间需要 42 分钟。

1 严重: Servlet.service() for servlet jsp threw exception 2 javax.el.PropertyNotFoundException: Property 'imgUrl' not found on type java.lang.String 3     at javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:290) 4     at javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:243) 5     at javax.el.BeanELResolver.property(BeanELResolver.java:377) 6     at javax.el.BeanELResolver.getValue(BeanELResolver.java:97) 7     at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104) 8     at org.apache.el.parser.AstValue.getValue(AstValue.java:184) 9     at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)10     at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:950)11     at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fforEach_005f1(sceneOrderDetail_jsp.java:774)12     at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fif_005f1(sceneOrderDetail_jsp.java:725)13     at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspService(sceneOrderDetail_jsp.java:435)14     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)15     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)16     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)17     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)18     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)19     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)20     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)21     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)22     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)23     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)24     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)25     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747)26     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)27     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)28     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)29     at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)30     at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)31     at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1243)32     at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1027)33     at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)34     at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)35     at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)36     at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:859)37     at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)38     at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)39     at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)40     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)41     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)42     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)43     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)44     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)45     at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)46     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)47     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)48     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)49     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)50     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)51     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)52     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)53     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)54     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)55     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)56     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)57     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)58     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)59     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)60     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)61     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)62     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)63     at java.lang.Thread.run(Thread.java:745)64 65 三月 14, 2017 9:34:54 上午 org.apache.catalina.core.StandardWrapperValve invoke66 严重: Servlet.service() for servlet [SpringMVC] in context with path [] threw exception [An exception occurred processing JSP page /WEB-INF/jsp/scene/collection/sceneOrderDetail.jsp at line 15467 68 151:                                                 

绫诲埆锛?鎶?鑳芥湇鍔?

69 152: 70 153:
71 154:
72 155:
73 156:
74 157:

鎶?鑳藉悕绉帮細${sceneSkill.skillName }

75 76 77 Stacktrace:] with root cause

原因是:items的${}没写,直接写成了集合名称

错误原因:items="sceneSkills"  

 

 

错误纠正:items=${

sceneSkills}

  

严重: Servlet.service() for servlet jsp threw exceptionjavax.el.PropertyNotFoundException: Property 'imgUrl' not found on type java.lang.Stringat javax.el.BeanELResolver$BeanProperties.get(BeanELResolver.java:290)at javax.el.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:243)at javax.el.BeanELResolver.property(BeanELResolver.java:377)at javax.el.BeanELResolver.getValue(BeanELResolver.java:97)at org.apache.jasper.el.JasperELResolver.getValue(JasperELResolver.java:104)at org.apache.el.parser.AstValue.getValue(AstValue.java:184)at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184)at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:950)at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fforEach_005f1(sceneOrderDetail_jsp.java:774)at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspx_meth_c_005fif_005f1(sceneOrderDetail_jsp.java:725)at org.apache.jsp.WEB_002dINF.jsp.scene.collection.sceneOrderDetail_jsp._jspService(sceneOrderDetail_jsp.java:435)at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:747)at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1243)at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1027)at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:859)at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121)at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)at java.lang.Thread.run(Thread.java:745)

三月 14, 2017 9:34:54 上午 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for servlet [SpringMVC] in context with path [] threw exception [An exception occurred processing JSP page /WEB-INF/jsp/scene/collection/sceneOrderDetail.jsp at line 154
151: <p>绫诲埆锛?<span>鎶?鑳芥湇鍔?</span></p>152: </div>153: <div class="m">154: <div><img src="${IMGPath}/${sceneSkill.imgUrl}"></div>155: <div>156: <div class="up clearfix">157: <p>鎶?鑳藉悕绉帮細<span>${sceneSkill.skillName }</span></p>
Stacktrace:] with root cause

转载于:https://www.cnblogs.com/coreyjk/p/6546867.html

你可能感兴趣的文章
Redis常用命令
查看>>
2018.11.06 bzoj1040: [ZJOI2008]骑士(树形dp)
查看>>
2019.02.15 bzoj5210: 最大连通子块和(链分治+ddp)
查看>>
redis cluster 集群资料
查看>>
微软职位内部推荐-Sr. SE - Office incubation
查看>>
微软职位内部推荐-SOFTWARE ENGINEER II
查看>>
centos系统python2.7更新到3.5
查看>>
C#类与结构体究竟谁快——各种函数调用模式速度评测
查看>>
我到底要选择一种什么样的生活方式,度过这一辈子呢:人生自由与职业发展方向(下)...
查看>>
poj 题目分类
查看>>
windows 安装yaml支持和pytest支持等
查看>>
读书笔记:季羡林关于如何做研究学问的心得
查看>>
面向对象的优点
查看>>
套接口和I/O通信
查看>>
阿里巴巴面试之利用两个int值实现读写锁
查看>>
浅谈性能测试
查看>>
Winform 菜单和工具栏控件
查看>>
jequery动态创建form
查看>>
CDH版本大数据集群下搭建的Hue详细启动步骤(图文详解)
查看>>
第六次java作业
查看>>